package com.atguigu.gmall.feign.retry;

import feign.RetryableException;
import feign.Retryer;

/**
 * @author:ahang
 * @create:2022-10-25 2:41
 * @Description:
 */
public class NeverRetry implements Retryer {

    @Override
    public void continueOrPropagate(RetryableException e) {
        throw e;
    }

    @Override
    public Retryer clone() {
        return null;
    }
}
